package com.qf.pickname2302;

public class PickNameTest {
    public static void main(String[] args) throws Exception {

        String filepath = "D:\\2302\\names.txt";
        //1. 创建核心对象
        PicknameOOP picknameOOP = new PicknameOOP(filepath);
        //2. 调用这个核心对象的方法完成任务
        String name =  picknameOOP.randomname();

        System.out.println(name);
    }
}
